package org.xiaojl.sys.entity;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.annotations.TableName;
import org.xiaojl.common.base.BaseEntity;

/**
 * <p>
 * 系统日志表
 * </p>
 *
 * @author xiaojl
 * @since 2017-08-21
 */
@TableName("sys_log")
public class SysLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 登陆名
     */
	private String loginName;
    /**
     * 真实名
     */
	private String realName;
    /**
     * 内容
     */
	private String optContent;
    /**
     * 客户端ip
     */
	private String clientIp;

	@Override
	public Wrapper<SysLog> bindingQueryWrapper() {
		Wrapper<SysLog> wrapper = new EntityWrapper<SysLog>();
		return wrapper;
	}


	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getOptContent() {
		return optContent;
	}

	public void setOptContent(String optContent) {
		this.optContent = optContent;
	}

	public String getClientIp() {
		return clientIp;
	}

	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}

	@Override
	public String toString() {
		return "SysLog [loginName=" + loginName + ", realName=" + realName
				+ ", optContent=" + optContent + ", clientIp=" + clientIp
				+ ", id=" + id + ", createBy=" + createBy + ", createTime="
				+ createTime + ", delFlag=" + delFlag + "]";
	}

}
